package com.elock.service.serviceImpl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.elock.base.core.Page;
import com.elock.base.core.Pageable;
import com.elock.base.core.service.impl.BaseServiceImpl;
import com.elock.dao.PcRoleBaseDao;
import com.elock.entity.PcRole;
import com.elock.service.PcRoleBaseService;

/**
 * Service - PC角色
 * @author 仁德
 */
@Service("pcRoleBaseServiceImpl")
public class PcRoleBaseServiceImpl extends BaseServiceImpl<PcRole>
		implements PcRoleBaseService {

	@Resource(name = "pcRoleBaseDao")
	private PcRoleBaseDao pcRoleBaseDao;

	@Override
	@Transactional(readOnly = true)
	public Page<Map<String, Object>> findPage(String name, Boolean isSystem,
			String firstTime, String lastTime, Pageable pageable) {
		return pcRoleBaseDao.findPage(name, isSystem, firstTime, lastTime, pageable);
	}
}